package array;

import java.util.Arrays;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: wwy
 * Date: 2024-08-18
 * Time: 19:56
 */
public class CopeOf {
    public static void main(String[] args) {
        int[] a={1,2,3,4,54,65};
        int[] b= Arrays.copyOfRange(a,1,3);
        System.out.println(Arrays.toString(b));
    }
}

